/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.admin.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springblade.core.mp.base.BaseEntity;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springblade.core.tenant.mp.TenantEntity;

/**
 * 任务每天实体类
 *
 * @author ysq
 * @since 2024-09-02
 */
@Data
@TableName("blade_maintain_plan_day_count")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "MaintainPlanDayCount对象", description = "任务每天")
public class MaintainPlanDayCount extends TenantEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 工单id
	 */
	@ApiModelProperty(value = "工单id")
	private Long planId;
	/**
	 * 电梯id
	 */
	@ApiModelProperty(value = "电梯id")
	private Long elevatorId;
	/**
	 * 项目id
	 */
	@ApiModelProperty(value = "项目id")
	private Long buildingId;
	/**
	 * 电梯地址
	 */
	@ApiModelProperty(value = "电梯地址")
	private String elevatorAddress;
	/**
	 * 项目名称
	 */
	@ApiModelProperty(value = "项目名称")
	private String buildingName;
	/**
	 * 1: 保养, 2: 维修, 3: 困人, 4: 部件更换
	 */
	@ApiModelProperty(value = "1: 保养, 2: 维修, 3: 困人, 4: 部件更换")
	private Integer typeStatus;
	/**
	 * 工单状态
	 */
	@ApiModelProperty(value = "工单状态")
	private Integer planStatus;
	/**
	 * 时效性描述{	 救援 1-超30mins 2-超自定义时 3-未超时	}
	 */
	@ApiModelProperty(value = "时效性描述{	 救援 1-超30mins 2-超自定义时 3-未超时	}")
	private Integer timeliness;
	/**
	 * 工作时长 分钟
	 */
	@ApiModelProperty(value = "工作时长 分钟")
	private BigDecimal workTime;
	/**
	 * 开始时间
	 */
	@ApiModelProperty(value = "开始时间")
	private Date planBeginTime;
	/**
	 * 结束时间
	 */
	@ApiModelProperty(value = "结束时间")
	private Date planEndTime;
	/**
	 * 故障原因
	 */
	@ApiModelProperty(value = "故障原因")
	private String faultReasonItem;
	/**
	 * 到达时间
	 */
	@ApiModelProperty(value = "到达时间")
	private LocalDateTime arriveTime;
	/**
	 * 到达时长
	 */
	@ApiModelProperty(value = "到达时长")
	private Long arriveDuration;
	/**
	 * 工单创建时间
	 */
	@ApiModelProperty(value = "工单创建时间")
	private Date planCreateTime;
	/**
	 * 工单计划时间
	 */
	@ApiModelProperty(value = "工单计划时间")
	private Date planDate;
	/**
	 * 记录时间
	 */
	@ApiModelProperty(value = "记录时间")
	private Date recordDate;


}
